package rrrmai.di.component;

import android.arch.lifecycle.ViewModelProvider;
import dagger.Component;
import rrrmai.di.module.RepositoryModule;
import rrrmai.viewbinder.Contact;
import rrrmai.viewmodel.ContactViewModel;
import rrrmai.viewmodel.PostsViewModel;

/**
 * Created by az on 2018/3/21.
 */
@Component(modules={RepositoryModule.class},dependencies = {ApplicationComponent.class,ActivityComponent.class,ApiComponent.class})
public interface ViewModelComponent {
    //ViewModelProvider getViewModelProvider();
    PostsViewModel getPostsViewModel();
    ContactViewModel getContactViewModel();
}